package entity

import (
	"shqsoft.cn/pasnj/base"
)

//CompClie 对公存款
type CompClie struct {
	ID   int    `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	CUNM string `gorm:"column:CUNM"`
	ENCD string `gorm:"column:ENCD;"`
}

//TableName 表名
func (CompClie) TableName() string {
	return "T_COMP_CLIE"
}

func CompClieEF() base.EntityFunc {
	return func() interface{} {
		entity := CompClie{}
		return &entity
	}
}
func CompClieESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []CompClie
		return &entities
	}
}
func init() {
	base.DaoPoolObj.Put("CompClie", base.NewDefaultDao(CompClieEF(), CompClieESF(), nil))
}
